package com.oocl.dataprocessImpl;

import java.util.Set;

import com.oocl.dataprocess.Dataprocess;
import com.oocl.db.SetFactory;
import com.oocl.modle.Customer;

public class DataProcessImpl implements Dataprocess{
	
	Set<Customer> set = SetFactory.getInstance();

	public boolean saveCustomer(Customer[] customer) {
//		boolean flag = true;
		for (int i = 0; i < customer.length; i++) {
			SetFactory.getInstance().add(customer[i]);
				
			
		}
		return true;
	}

}
